#!/bin/bash
PID=$(ps -ef | grep 'java -server*' | grep -v grep | awk '{print $2}' )
if [ -z "$PID"]
then
  echo EOMP application is alredy stopped
else
  echo kill $PID
  kill -9 $PID
fi
